package com.xja.mapper;

import com.xja.entity.Food;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 *
 * @author 周广瑞
 * @date  2022/4/14 9:56
 * 
 */
@Mapper
public interface FoodMapper {
    int deleteByPrimaryKey(Integer foodId);

    int insert(Food record);

    int insertSelective(Food record);

    Food selectByPrimaryKey(Integer foodId);

    int updateByPrimaryKeySelective(Food record);

    int updateByPrimaryKey(Food record);

    List<Food> selectFoodList();
}